Release 10.1A: OpenEdge Deployment:
WebClient Applications
Generating the .prowcapc file
When you are ready to store your custom deployment configuration in a new
.prowcapcfile, you can do so by either of two methods:In both cases, the Deployment Packager writes a log of the operation in the output directory where it creates the
.prowcapcfile. The log file has the extension.logand the same name as the.prowcapcfile.Interactive mode
Open the
.wcdfile and choose DeployGenerate or click the
button on the toolbar. The Deployment Packager validates the configuration as described in the preceding section.
If there are no errors, the Deployment Packager displays a prompt that lists the changes you have made—that is, differences between the original configuration and the one you have defined—as well as any warnings, and gives you the option of continuing or canceling the operation. After reviewing the information, click Yes to generate the new
.prowcapcfile, or click No to abort the operation.When you click Yes, the Deployment Packager generates the new
.prowcapcfile in the specified output directory. The name of this file matches the value of the Application Name field.Upon completion, a message identifies the new
.prowcapcfile (or indicates the errors that prevented successful generation of the file). It also identifies the log file for the operation.Batch mode
If you have installed OpenEdge Studio, you can use the
bprowcappdep.batscript to generate the.prowcapcfile without running the Deployment Packager interactively. This file is installed inOpenEdge-Install-Directory\bin. (It is not available to users of the standalone Deployment Packager tool extracted from theprowcdp.zipfile.)You execute the script with a single argument, the path to the deployment configuration (
.wcd) file. For example:
bprowcappdep c:\WebClient\deployment\MyApp.wcdThe validation and generation are performed as in interactive mode, with an important exception: Unless the validation process encounters errors (in which case the operation terminates), generation of the
.prowcapcfile proceeds with no option to cancel. Messages that precede the actual start of the generation process, including error notifications and warnings, are written to the console window; they do not appear in the log file. Therefore, when using thebprowcappdep.batscript, you should redirect the screen output to a file or take other steps to make sure you do not overlook important messages.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |